const Type = require('./Type')
const Tag = require('./Tag')
const Article = require('./Article')

Type.hasMany(Article)
Article.belongsTo(Type)

Article.belongsToMany(Tag,{through:"Tag_Article"})
Tag.belongsToMany(Article,{through:"Tag_Article"})